package org.comple.erp.remote.base;

import org.comple.erp.utils.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

public interface CustomerRemote {
    /**
     * 远程调用 查询客户列表
     *
     * @return
     */
    @GetMapping("/getCustomerList")
    public AjaxResult getAllCustomerList(@RequestParam("companyCode") String companyCode);

    @GetMapping("/getCustomerById")
    public AjaxResult getCustomerById(@RequestParam("id") String id);
}
